Area-eecient Algorithms for Upward Straight-line Tree Drawings ?
نویسندگان
چکیده
In this paper, we investigate planar upward straight-line grid drawing problems for bounded-degree rooted trees so that a drawing takes up as little area as possible. A planar upward straight-line grid tree drawing satisses the following four constraints: (1) all vertices are placed at distinct grid points (grid), (2) all edges are drawn as straight lines (straight-line), (3) no two edges in the drawing intersect (planar), and (4) no parents are placed below their children (upward). Our results are summarized as follows. First, we show that a bounded-degree tree T with n vertices admits an upward straight-line drawing with area O(n log log n). If T is binary, we can obtain an O(n log log n)-area upward orthogonal drawing in which each edge is drawn as a chain of at most two orthogonal segments and which has O(n= log n) bends in total. Second, we show that bounded-degree trees in some classes of balanced trees, frequently used as search trees, admit strictly upward straight-line drawings with area O(n log log n). They include k-balanced trees, red-black trees, BB ]-trees, and (a; b)-trees. In addition, trees in the same classes admit O(n(log log n) 2)-area strictly upward straight-line drawings that preserve the left-to-right ordering of the children of each vertex. Finally, we discuss an extension of our drawing algorithms to non-upward straight-line drawing algorithms in 2-and 3-dimensions.
منابع مشابه
Optimum-width upward drawings of trees I: Rooted pathwidth
An upward drawing of a rooted tree is a drawing such that no parents are below their children. It is ordered if the edges to children appear in prescribed order around each vertex. It is well-known that any tree has an upward (unordered) drawing with width log(n+ 1). For ordered drawings, the best-known bounds for the width for binary trees is O(logn), while for arbitrary trees it is O(2 √ ). W...
متن کاملArea-eecient Upward Tree Drawings
Rooted trees are usually drawn planar and upward , i.e., without crossings and with parents placed above their children. In this paper we investigate the area requirement of planar upward drawings of trees, and present optimal algorithms for constructing such drawings.
متن کاملOn Upward Drawings of Trees on a Given Grid
Computing a minimum-area planar straight-line drawing of a graph is known to be NP-hard for planar graphs, even when restricted to outerplanar graphs. However, the complexity question is open for trees. Only a few hardness results are known for straight-line drawings of trees under various restrictions such as edge length or slope constraints. On the other hand, there exist polynomial-time algo...
متن کاملOptimizing Area and Aspect Ratio in Straight-Line Orthogonal Tree Drawings
We investigate the problem of drawing an arbitrary n-node binary tree orthogonally in an integer grid using straight-line edges. We show that one can simultaneously achieve good area bounds while also allowing the aspect ratio to be chosen as being O(1) or sometimes even an arbitrary parameter. In addition, we show that one can also achieve an additional desirable aesthetic criterion, which we ...
متن کاملOn the Perspectives Opened by Right Angle Crossing Drawings
Right Angle Crossing (RAC) drawings are polyline drawings where each crossing forms four right angles. RAC drawings have been introduced because cognitive experiments provided evidence that increasing the number of crossings does not decrease the readability of a drawing if edges cross at right angles. We investigate to what extent RAC drawings can help in overcoming the limitations of widely a...
متن کامل